/*
 * @Author: 老刘
 * @Date: 2020-04-29 15:51:38
 * @Description: 动画列表
 */
import { go } from '../../../utils/util.js';
Page({
	data: {
		animationList: [
			{title: '缩放', ico: 'weather', url: 'zoom_for_css', status: ''},
			{title: '弹跳', ico: 'set', url: 'bounce_for_css', status: ''},
			{title: '拉伸', ico: 'set', url: 'rubber_band_for_css', status: ''},
			{title: '摇', ico: 'set', url: 'shake_for_css', status: ''},
			{title: '摇头', ico: 'set', url: 'head_shake_for_css', status: ''},
			{title: '摇摆', ico: 'set', url: 'swing_for_css', status: ''},
			{title: '摇晃', ico: 'set', url: 'wobble_for_css', status: ''},
			{title: '凝胶(果冻)', ico: 'set', url: 'jello_for_css', status: ''},
			{title: '闪光', ico: 'set', url: 'flash_for_css', status: ''},
			{title: 'tada', ico: 'set', url: 'tada_for_css', status: ''},
			{title: '缩放滑入', ico: 'set', url: 'slip_into_for_css', status: ''},
			{title: '缩放滑出', ico: 'set', url: 'slip_off_for_css', status: ''},
			{title: '滑入', ico: 'set', url: 'sliding_into_for_css', status: ''},
			{title: '滑出', ico: 'set', url: 'sliding_off_for_css', status: ''},
			{title: '跳入', ico: 'set', url: 'jump_into_for_css', status: ''},
			{title: '跳出', ico: 'set', url: 'jump_off_for_css', status: ''},
			{title: '淡入', ico: 'set', url: 'fade_in_for_css', status: ''},
			{title: '淡出', ico: 'set', url: 'fade_out_for_css', status: ''},
			{title: '翻转', ico: 'set', url: 'flip_for_css', status: ''},
			{title: '旋转进入', ico: 'set', url: 'rotate_into_for_css', status: ''},
			{title: '旋转退出', ico: 'set', url: 'rotate_off_for_css', status: ''},
			{title: '光速', ico: 'set', url: 'light_speed_for_css', status: ''},
			{title: '特殊', ico: 'set', url: 'specials_for_css', status: ''},
			{title: '缩放进入', ico: 'set', url: 'zooming_into_for_css', status: ''},
			{title: '缩放退出', ico: 'set', url: 'zooming_off_for_css', status: ''},
			{title: '雷达', ico: 'about', url: 'radar_for_css', status: ''},
			{title: '涟漪', ico: 'about', url: 'ripples_for_css', status: ''},
			{title: '水波纹', ico: 'about', url: 'water_ripple_for_css', status: ''},
			{title: '充电', ico: 'about', url: 'charging_for_css', status: ''},
			{title: '心跳', ico: 'about', url: 'heartbeat_for_css', status: ''},
			{title: '波动柱状图加载', ico: 'about', url: 'volatility_histogram_loading', status: ''},
			{title: '弹窗', ico: 'set', url: 'popup_window_for_css', status: ''},
			{title: '线性渐变', ico: 'set', url: 'linear_gradient', status: ''}
		]
	},
	handleGo (e) {
		const url = e.currentTarget.dataset.url;
		go(`/pages/animate_css/${url}/${url}`);
	}
});
